use dioxus::prelude::*;
use dioxus_logger::tracing;

mod client;
mod components;
mod global;
mod routes;
mod server;

fn main() {
    dioxus_logger::init(tracing::Level::INFO).expect("failed to init logger");
    tracing::info!("starting app");
    launch(app);
}

fn app() -> Element {
    rsx! {
        Router::<routes::Route> {}
    }
}
